package com.towexin.application.activiti.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.towexin.application.activiti.domain.ApproveInfo;
import com.towexin.application.activiti.mapper.ApproveInfoMapper;
import com.towexin.application.activiti.service.ApproveInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * TODO
 *
 * @author Towexin
 * @version 1.0
 * @date 2021/10/20 11:13
 */
@Service
@Transactional
public class ApproveInfoServiceImpl extends ServiceImpl<ApproveInfoMapper, ApproveInfo> implements ApproveInfoService {
    @Override
    public List<ApproveInfo> getApproveInfosByProcessInstanceId(String processInstanceId) {
        return baseMapper.getApproveInfoByProcessInstanceId(processInstanceId);
    }
}
